home *** CD-ROM | disk | FTP | other *** search
- Path: prodigy.com!usenet
- From: XKWR65B@prodigy.com (Mark Rubelmann)
- Newsgroups: comp.lang.c++
- Subject: Memory problems...
- Date: 11 Apr 1996 00:38:50 GMT
- Organization: Prodigy Services Company 1-800-PRODIGY
- Distribution: world
- Message-ID: <4khkaq$10mo@usenetw1.news.prodigy.com>
- NNTP-Posting-Host: innugap7-int.news.prodigy.com
- X-Newsreader: Version 1.2
-
- I'm trying to use the "new" operator to allocate a 64000 byte array. When
- I do this, it returns 0 meaning it failed.. I assume this is because DOS
- can only use the first 64K of memory. In a book there was a program that
- did the same thing but didn't have any memory problems. They used malloc
- and I tried that too but it didn't work. How do I access more than 64K?
- Do you have to use a DOS extender such as DOS4GW? I tried figuring out
- how to go about doing that but I couldn't.
-
-